package core;

import java.awt.Point;
import java.util.HashMap;

import org.newdawn.slick.Image;

public abstract class Unit {

	public Image tex;
	public Point position;
	public int width;
	public int height;
	public Point feet;
	public HashMap<String,Item> items;
	public float fall;
	public int hp;
	public int maxHp;
	public String name;
	
	public boolean isDead(){
		if(hp == 0)
			return true;
		return false;
	}
	
	public void draw(Image tex,float x, float y){
		tex.draw(x,y);
	}
	
	
}
